import dayjs from "dayjs";

export const formatDate = (date: Date, format: string) => {
        
   const time = dayjs(date).format(format);

   return time;
}